<script type="text/javascript">

  function showSlidingCitation(){
    $("#sidebardalam").animate({"height": "100%"}, {duration: 0});
    $("#sidebardalam").animate({"height": "-=30px"}, {duration: 0});
    $("#citation").animate({"height": "toggle"}, { duration: 1000 });
    $("#citation2").animate({"opacity": "toggle"}, {duration: 1000});
    $("#citation p").animate({"height": "toggle"}, { duration: 1000 });
    $("#citation2 p").animate({"opacity": "toggle"}, {duration: 1000});
  }

  function showSlidingCitation2(){
    $("#sidebardalam").animate({"height": "100%"}, {duration: 0});
    $("#sidebardalam").animate({"height": "-=147px"}, {duration: 1000});
    $("#citation").animate({"height": "toggle"}, { duration: 1000 });
    $("#citation2").animate({"opacity": "toggle"}, {duration: 1000});
    $("#citation p").animate({"height": "toggle"}, { duration: 1000 });
    $("#citation2 p").animate({"opacity": "toggle"}, {duration: 1000});
  }

</script>

<div id="navbarright">
    <a href="#" onClick="showSlidingSideDiv3(); return false;"> <div id="navBar3"></div> </a>
</div>

<div id="sidebar">

  <div id="sidebardalam">
    <?php include_component('browse', 'categories'); ?>

    <div id="jobs">
      
    </div>
  </div>

  <div id="citationdiv">
    <div id="citation"><a href="#" onClick="showSlidingCitation(); return false;" > <p><?php echo __('Citation')?></p></a> <p>Coral Reef Vertical Zonation near the Proposed Desalination Plant Outfall Locations, KAUST 2008</p></div>
    
    <div id="citation2"><a href="#" onClick="showSlidingCitation2(); return false;" > <p><?php echo __('Citation')?></p> </a></div>
    <!--<a href="#" onClick="showSlidingCitation(); return false;" > <div id="citation2"> <p>Citation</p></div> </a>
    <a href="#" onClick="showSlidingCitation(); return false;" > <div id="citation"> <p>Citation</p></div> </a>
    --->
  </div>

 
    <a href="#" onClick="showSlidingSideDiv2(); return false;" > <div id="navBar4"></div> </a>

  


</div>


